home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / drivers.zip / IBMTOKEN.NOT < prev    next >
Text File  |  1990-08-09  |  6KB  |  136 lines

  1.      
  2.        File:   IBMTOKEN.DOC
  3.        Auth:   Brian Fisher
  4.        Date:   October 3 1989
  5.      
  6.        Purp:   Notes on IBMTOKEN.COM, the 'Ethernet' packet driver
  7.                for TCP/IP and NCSA Telnet.
  8.      
  9. ========================================================================
  10.      
  11.        IBMTOKEN is an Ethernet packet driver for the IBM Token Ring
  12.        Adapter card.  The IBM Lan support program must be installed before
  13.        you use IBMTOKEN.
  14.      
  15.        CONFIG.SYS - to install the LAN Support program and increase the
  16.        size of the stacks.  The default stack size is too small and leads
  17.        to crashes.
  18.      
  19.        device=C:\PCLAN\DXMA0MOD.SYS
  20.        device=C:\PCLAN\DXMC0MOD.SYS
  21.        device=C:\PCLAN\DXMT0MOD.SYS
  22.        stacks=9,512
  23.      
  24.        AUTOEXEC.BAT - to install IBMTOKEN and define NCSA config file:
  25.      
  26.        IBMTOKEN 0x61   0
  27.        SET CONFIGTEL=C:\CONFIG.TEL
  28.      
  29.      
  30.        CONFIG.TEL
  31.      
  32.        myip=xx.yy.zz.qq                # put your IP address here
  33.        netmask=255.255.255.0           # use your network mask here
  34.        hardware=packet                 # tell NCSA to use the packet driver
  35.                                        # interface
  36.        address=0                       # class for packet driver
  37.        ioaddr=0x61                     # vector given to IBMTOKEN
  38.      
  39.        mtu=1500                        # max IBMTOKEN can transmit
  40.        maxseg=1500                     # max IBMTOKEN can receive
  41.        rwin=536                        # max if NCSA can't do IP fragments
  42.      
  43.      
  44.        IBMTOKEN:
  45.      
  46.        IBMTOKEN <vector> <adapter>
  47.      
  48.        where    vector is the interrupt assigned to the packet driver
  49.                 interface
  50.      
  51.                 adapter is 0 for the first adapter card, and 1 if the
  52.                 second adapter card is to be used.
  53.      
  54.      
  55.      
  56.        When IBMTOKEN installs, the following occurs:
  57.      
  58.                1)   DIR.INITIALIZE is called to initialize the adapter.
  59.                2)   DIR.OPEN.ADAPTER is called to set up buffers for
  60.                     IBMTOKEN.
  61.                3)   RECEIVE is called to set up the receive service
  62.                     routines.
  63.                4)   DIR.STATUS is called to determine the address of the
  64.                     adapter.
  65.      
  66.                If any of these calls fails, the installation is aborted.
  67.      
  68.                IBMTOKEN may not install properly if the token ring adapter
  69.                has been in use by another program, and to closed properly.
  70.                If this is the case, reboot and run IBMTOKEN.
  71.      
  72.      
  73.        OPERATION:
  74.      
  75.        IBMTOKEN translates 'Ethernet' packet driver calls to 802.2 LLC
  76.        format packets for transmission.  Currently it supports IP and
  77.        ARP transmissions.  RARP and BOOTP probably won't work.
  78.      
  79.        IP packets are sent 'as is'.  ARP packets require a minor modification
  80.        before they are sent.  The hwr address space value must be changed from
  81.        1h to 6h.  On receive, the driver changes 6h back to 1h.  The size (60
  82.        is min for Ether) must be set to 28 or some token hosts won't accept
  83.        the transmission.
  84.      
  85.        Receive packets smaller than 60 bytes are rounded up so the upper
  86.        level will accept them.
  87.      
  88.        Token Ring source routing.  When the upper level call back routine
  89.        accepts a packet, its RIF is recorded in a table interal to IBMTOKEN.
  90.        When IBMTOKEN sees the destination address requires a RIF, the
  91.        info is pulled from the table and added to the MAC header for transmit.
  92.      
  93.        IBMTOKEN can handle a maximum of 32 source route entries.  One
  94.        default entry is present for the 'broadcast' address.  The first
  95.        source route received for an address is assumed to be the shortest.
  96.        Subsequent source routes from the same host are ignored.
  97.  
  98.  
  99. I upgraded my Dos to 3.3 (Zenith) and started having intermittent
  100. lockups.  One of the Model 55SX machines down the hall was running Dos
  101. 4.00 and wouldn't run at all with the driver loaded.  I've tracked it
  102. down to a stack overflow.  The default setting for STACKS is 9,128 in
  103. Dos 3.3 and Dos 4.00.  When the system is servicing a hardware IRQ,
  104. the stack is only 128 bytes.  Add a Token receive IRQ, and bang, the
  105. system hangs.  You can fix the problem by setting STACKS=9,512 (the
  106. 512 is the important number here).
  107.  
  108. Date:         Thu, 12 Jul 90 14:25-0400
  109. From: Brian.L.Fisher%QueensU.CA@clvm.clarkson.edu
  110. To: "aka CLUTX.BITNET" <nelson@clutx.clarkson.edu>
  111. Subject: IBM Token Ring Packet Driver
  112.  
  113. IBMTOKEN won't run with PC LAN.  It was designed so users on a couple of
  114. our Token Ring networks could use NCSA Telnet (Clarkson version, recently
  115. renamed CUTCP) to transfer files and log on to our IBM mainframe via the
  116. campus backbone.  We don't use PC LAN and never will,  TCP/IP is the
  117. network method of choice here.
  118.  
  119. I'm not familiar with Novell Netware BYU feature, so I can't really say.
  120.  
  121. IBMTOKEN is an FTP Ethernet Packet driver, but it DOES NOT transform ethernet
  122. packets to token ring.  It performs a (for lack of a better term) 'sub router'
  123. function.  It receives packets from the program via FTP packet driver interface
  124. and re-encapsulates them for transmission on token ring.  Some packets must
  125. be modified for transmission on token ring, ie. ARP hardware address space
  126. field (ap$hrd) is transformed during transmission/reception.  Packets received
  127. from the token ring are re-encapsulated in ethernet format and passed up to
  128. the program.  The driver is designed for TCP/IP protocols only.  'Other'
  129. ethernet protocols may or may not work, no guarantee.  Hope this helps.
  130. ---------------------------------------------------
  131. Brian Fisher, Systems Programmer, Queens University
  132. Computing & Communications Services,  Kingston, ONT
  133. K7L 3N6. Dupuis Hall      Brian.L.Fisher@QueensU.CA
  134. ---------------------------------------------------
  135.  
  136.